]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
lookingGlass: Export the Inspector class
authorSimon Schneegans <code@simonschneegans.de>
Thu, 17 Aug 2023 17:32:42 +0000 (19:32 +0200)
committerSimon Schneegans <code@simonschneegans.de>
Thu, 17 Aug 2023 17:32:42 +0000 (19:32 +0200)
Several extensions use this class to let the
user pick application windows. Exporting this
class will make it easier for these extensions
to be ported to GNOME 45.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2898>

js/ui/lookingGlass.js

index d8b74d5bd7a436aed7e4e14aa2b927cb5eac2b0c..0f840df597495f6db1531462368b0f1d732d6349 100644 (file)
@@ -574,7 +574,7 @@ class RedBorderEffect extends Clutter.Effect {
     }
 });
 
-const Inspector = GObject.registerClass({
+export const Inspector = GObject.registerClass({
     Signals: {
         'closed': {},
         'target': {param_types: [Clutter.Actor.$gtype, GObject.TYPE_DOUBLE, GObject.TYPE_DOUBLE]},